<template>
    <div class="AlterSlit">
        <van-nav-bar
        title="收货地址"
            right-text="```"
            left-arrow
            @click-left="$router.go(-1)"
            @click-right="$router.push('/addsite')"
        />
        <!-- 收货地址表单 -->
        <div class="site" >
           联系人 <input type="text" placeholder="性名" ><br>
           电&nbsp;&nbsp;&nbsp;话 <input type="text" placeholder="手机号码" ><br>
           地&nbsp;&nbsp;&nbsp;址 <input type="text" placeholder="选择收货地址" ><br>
           门牌号 <input type="text" placeholder="例：5号楼203室" ><br>
           <input type="button" value="删除" class="btn1">
           <input type="button" value="使用" class="btn2">
        </div>
    </div>
</template>

<script>
import {address_del} from '../utils/api'
export default {
    data(){
        return{
            siteText:{
                address:'',
                phone:'',
                name:''
           },
           sitelist:{}
        }
    },
    mounted(){
        
    console.log(this.$route.query);
    }
}
</script>

<style lang="scss" scoped>
    .site{
        width: 100%;
        padding: 10px 16px 0;
        
        input{
            width: 60%;
            margin:10px ;
            border: none;
            outline: none;
            font-size: 14px;
        }
        .btn1{
            width: 40%;
            height: 40px;
            background: rgb(237, 82, 30);
            color: white;
            border-radius: 5px;
        }
        .btn2{
            width: 40%;
            height: 40px;
            background: rgb(74, 220, 21);
            color: white;
            border-radius: 5px;
        }
        
    }
</style>